<!--{if $pmsound}--><bgsound src="$bbsdir/images/sound/pm_$pmsound.wav" border="0"><!--{/if}-->
<table cellspacing="{INNERBORDERWIDTH}" width="99%">
<tr><td class="header">
<div class="subtable" style="width: 100%">
<div class="right"><a href="$bbsdir/pm.php" target="_blank">{lang pm_new_detail}</a>
<!--{if $newpm}--><span style="color: {HEADERTEXT}" class="bold"><a href="$bbsdir/pm.php?action=noprompt" onclick="ignorepm();return false;">{lang pm_new_ignore}</a></span><!--{/if}--></div>
{lang pm_new_youhave}<!--{if $newpmnum}-->{lang pm_new}&nbsp;<!--{/if}--><!--{if $announcepm}-->{lang pm_newannounce}<!--{/if}-->
</div>
</tr>

<!--{if $pmlist}-->
	<tr>
	<td colspan="8">
	<table cellspacing="0" cellpadding="0" border="0" width="98%" align="center" style="border:0px">
	<tr><td>
	<table cellspacing="0" cellpadding="0" border="0" width="100%" align="center" style="border:0px">
	<!--{loop $pmlist $pm}-->
		<tr><td><li></li></td><td width="20%" nowrap><span class="bold">{lang from}:</span><!--{if $pm['announce']}-->{lang pm_announce}<!--{else}--><a href="$bbsdir/uid/$pm[msgfromid]">$pm[msgfrom]</a><!--{/if}--></td>
		<td width="25%"><span class="bold" nowrap>{lang subject}:</span>
		<!--{if $pm['announce']}-->
			<a href="$bbsdir/pm.php?action=view&folder=announce&pmid=$pm[id]" target="_blank">$pm[subject]</a></td>
		<!--{else}-->
			<a href="$bbsdir/view-pm-$pm[pmid].html" target="_blank">$pm[subject]</a></td>
		<!--{/if}-->
		<td width="55%"><span class="bold">{lang content}:</span> $pm[message]</td></tr>
	<!--{/loop}-->
	</table></td></tr></table></td></tr>
<!--{/if}-->
</table>